Fix the last change to actually compile.
authorMatthias Clasen <matthiasc@src.gnome.org>
Wed, 6 Sep 2006 13:38:25 +0000 (13:38 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 6 Sep 2006 13:38:25 +0000 (13:38 +0000)
gdk-pixbuf/io-pnm.c

index af40f0fe25248b3f4868a95fcb6e542beb6cbf87..08489ef9882b5f3f8043735566a78b9ae9fa719f 100644 (file)
@@ -535,7 +535,7 @@ pnm_read_ascii_mono_scanline (PnmLoaderContext *context)
        guchar *dptr;
        gint max_length;
 
-       if (context->type == PNM_TYPE_PBM)
+       if (context->type == PNM_FORMAT_PBM)
                max_length = 1;
        else
                max_length = -1;
@@ -551,7 +551,7 @@ pnm_read_ascii_mono_scanline (PnmLoaderContext *context)
                if (retval != PNM_OK)
                        return retval;
 
-               if (context->type == PNM_TYPE_PBM) {
+               if (context->type == PNM_FORMAT_PBM) {
                        value = value ? 0 : 0xff;
                }
                else {